package main

import (
	"fmt"
	"go_code/chapter06/fundemo01/utils"
)

func main() {

	fmt.Println("utils.go Num", utils.Num1)

	//输入两个数,再输入一个运算符(+-*/),得到结果

	var n1 float64 = 1.2
	var n2 float64 = 2.3
	var operator byte = '+'
	result := utils.Cal(n1, n2, operator)
	fmt.Println("result=", result)

}
